﻿using Samurai.Wakizashi.Workflow;
using Samurai.WorkflowGraph.ViewModels;

namespace Samurai.WorkflowGraph.Models
{
    public class WorkflowStepNode : HierarchicalNodeViewModel
    {
        public bool AreChildrenCollapsed { get; set; }
        public bool AreChildrenSelected { get; set; }
        public string StepName { get; set; }
        public string StepNameFormatted
        {
            get { return StepName.SplitUpperCaseToString(); }
        }
        public ThreadType Thread { get; set; }
        public bool IsCritical { get; set; }
        public bool IsDelegatedStep { get; set; }
        public bool IsConditional { get; set; }
    }
}
